package com.example.gobang_system.common.errorcode;

public interface GlobalErrorCodeConstants {
    // 成功
    ErrorCode SUCCESS = new ErrorCode(200, "成功");

    // 服务端错误
    ErrorCode INTERNAL_SERVER_ERROR = new ErrorCode(500, "系统异常");
    ErrorCode NOT_IMPLEMENTED = new ErrorCode(501, "功能未实现/未开启");
    ErrorCode ERROR_CONFIGURATION = new ErrorCode(502, "配置项错误");
    ErrorCode UNKNOWN = new ErrorCode(999, "未知错误");
}
